Piwik\Piwik C

Total Complexity 112
Dependencies 15
Dependents 822
Total lines 825
Lines of code 351
Logical lines of code 197
Comment lines 393
Methods 56
Properties 1

Methods 56

Method Rating Maintainability Complexity Lines of code
hasTheUserSuperUserAccess()
S
55 7 19
isAssociativeArray()
S
57 6 17
getQuotientSafe()
S
60 6 12
checkValidLoginString()
S
61 6 11
getEarliestDateToRearchive()
S
57 5 16
requestTemporarySystemAuthToken()
S
54 4 19
getArrayFromApiParameter()
S
61 4 13
checkObjectTypeIs()
S
63 4 9
secureDiv()
S
70 4 6
getAllSuperUserAccessEmailAddresses()
S
62 3 12
isUserIsAnonymous()
S
71 3 5
isMultiDimensionalArray()
S
66 3 9
checkUserHasSuperUserAccessOrIsTheUser()
S
65 3 9
isUserHasWriteAccess()
S
67 2 8
isUserHasViewAccess()
S
67 2 8
isUserHasAdminAccess()
S
67 2 8
getUnnamespacedClassName()
S
71 2 5
isUserHasCapability()
S
67 2 8
hasUserSuperUserAccess()
S
67 2 8
getCurrentUserLogin()
S
69 2 7
postTestEvent()
S
72 2 5
getContactEmailAddresses()
S
65 2 8
isUserHasSomeViewAccess()
S
68 2 8
hasUserSuperUserAccessOrIsTheUser()
S
67 2 8
addAction()
S
78 1 3
postEvent()
S
77 1 3
getLoginPluginName()
S
80 1 3
redirectToModule()
S
73 1 4
translate()
S
74 1 4
getAction()
S
78 1 3
getPeriod()
S
78 1 3
getDate()
S
78 1 3
getModule()
S
78 1 3
getCurrentPlugin()
S
78 1 3
isValidEmailString()
S
78 1 3
error()
S
79 1 3
checkUserHasSomeViewAccess()
S
79 1 3
checkUserIsNotAnonymous()
S
79 1 3
getPercentageSafe()
S
77 1 3
getRandomTitle()
S
67 1 6
getCurrentUserEmail()
S
74 1 4
getCurrentUserCreationDate()
S
74 1 4
getCurrentUserLastSeen()
S
74 1 4
getCurrentUserTokenAuth()
S
79 1 3
doesUserRequirePasswordConfirmation()
S
71 1 5
checkUserHasSuperUserAccess()
S
79 1 3
checkUserHasWriteAccess()
S
79 1 3
checkUserHasAdminAccess()
S
79 1 3
isUserHasSomeAdminAccess()
S
79 1 3
checkUserHasSomeWriteAccess()
S
79 1 3
isUserHasSomeWriteAccess()
S
79 1 3
checkUserHasCapability()
S
78 1 3
exitWithErrorMessage()
S
66 1 7
checkUserHasSomeAdminAccess()
S
79 1 3
checkUserHasViewAccess()
S
79 1 3
getPluginNameOfMatomoClass()
S
69 1 6